<template>
  <div class="aaa">
    <div class="tabs">
      <div class="icon">
        <router-link to="shopping">
          <van-icon name="arrow-left" class="ig" />
        </router-link>
      </div>
      <div class="nav">
        <a href="">商品</a>
        <a href="">评论</a>
        <a href="">详情</a>
        <a href="">推荐</a>
      </div>
      <div class="icon">
        <Dialog> </Dialog>
      </div>
      <div class="icon"><van-icon name="ellipsis" /></div>
    </div>
  </div>
</template>
<script>
import Dialog from './Dialog2'
export default {
  components: {
    Dialog,
  },
  data() {
    return {
      activeName: 'a',
    }
  },
}
</script>
<style lang="less" scoped>
.aaa {
  width: 100%;
  padding: 8px 0;
}
.tabs {
  display: flex;
  align-items: center;
  justify-content: space-around;
  .icon {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: RGB(165, 169, 173);
    text-align: center;
    line-height: 30px;
    .ig {
      color: #fff;
    }
  }
  .nav {
    visibility: hidden;
    display: flex;
    justify-content: space-around;
    align-content: center;
    a {
      color: #555;
      padding: 10px;
    }
  }
}
</style>
